Txt2Site User Manual
Installation


Txt2Site is a commandline tool and is completely written with Linux Bash scripts. Developed with Bash version 4.2.24. Txt2Site can be easily installed by just copying the source scripts.
Download the latest version of Txt2Site from the Download page.

Installation Txt2Site from tar.gz archive

  1. Unpack the downloaded tar.gz file in a directory temp (or choose your own name).
    After unpacking you find a directory t2s_scripts/ with:
    • A main script txt2site in the directory: bin
    • Library scripts in the directory: lib/txt2site/
  2. Open a terminal window with working directory temp.
  3. As superuser: copy the main script to /usr/bin
    • Command: sudo cp t2s_scripts/bin/txt2site /usr/bin/txt2site
  4. As superuser: copy the library scripts to /usr/lib/txt2site
    • Command: sudo cp -r t2s_scripts/lib/txt2site/ /usr/lib/txt2site

If you want to use a different location for the scripts (for example in your home folder), update the variable TXT2SITE_LIB_DIR in the main script.
To uninstall Txt2Site, merely delete the scripts you have copied.

Installation of Txt2Site from deb package

  1. To install the package called package.deb open a terminal window.
  2. Make the directory where package.deb is kept the working directory.
  3. Type the following command: sudo dpkg -i package.deb

You can also use the tool GDebi to install the deb package with a graphical interface.
You can verify the installation of Txt2Site by typing: dpkg -l | grep txt
To uninstall Txt2Site type: sudo dpkg -r txt2site

Installation of other packages.

If you want to write your text with HTML, no other packages are needed.

If you want to write your text with Txt2Tags, you must install Txt2Tags. Install it from your repository of your Linux distribution or follow the instructions from the website of Txt2Tags.

If you want to write your text with Markdown, reStructuredText or Textile, you must install Pandoc. Install from your repository of your Linux distribution or follow the instructions from the website of Pandoc.

If you want to write your text with Creole, you must install the Perl module Text::WikiCreole. Install it from your repository of your Linux distribution or follow the instructions from the website of Text::WikiCreole.
For this module you must have Perl (>= 5.10) installed.

The packages Txt2Tags and Pandoc are available in the repositories of Ubuntu, Xubuntu or Kubuntu.
The Perl module Text::WikiCreole is available in the repositories of Ubuntu, Xubuntu or Kubuntu with name libtext-wikicreole-perl.



^ View Contentfile
© 2013 Arthur Kalverboer Powered by Txt2Site Last changed: 2013-12-02 19:26